import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    badge: 0,
    isShow: true,
    headerNavBackTextShow: true
  },
  mutations: {
    changeIsShow (state, isShow) {
      state.isShow = isShow
    },
    changeBackTextShow (state, isShow) {
      state.headerNavBackTextShow = isShow
    }
  },
  actions: {
  },
  modules: {
  }
})
